package charlie.demo.bus1.entity;

import lombok.Data;
import org.beetl.sql.core.annotatoin.Table;

import javax.persistence.Entity;
import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

@Data
@Table(name="T_DEMO")
public class DemoEntity {
    //Demo的ID
    private Integer demoId;
    /**
     * Demo的Name
     */
    private String demoName;
    private Integer demoAge;
    private Double demoValue;
    private String demoText;
    private LocalDate demoDate;
    private LocalTime demoTime;
    private String demoBlob;
    private Long demoLong;
    private DemoEntity[] entities;
    private List<DemoEntity> entityList;
}
